Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 9cfbf94ddbef988ec3c305262d1b63e8f1881176


Parents : 9a9c5cb
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-01-14T08:30:51-06:00

no-cache for Docker builds in CI workflow

Changes

2 files changed, 6 insertions(+), 2 deletions(-)

M Dockerfile +4 -2

Diff

diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml
index ca47a3b0..e9547676 100644
--- a/.gitea/workflows/docker.yml
+++ b/.gitea/workflows/docker.yml
@@ -64,6 +64,7 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
+ no-cache: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
@@ -123,6 +124,7 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
+ no-cache: true
tags: ${{ steps.meta-dev.outputs.tags }}
labels: ${{ steps.meta-dev.outputs.labels }}

diff --git a/Dockerfile b/Dockerfile
index fb7a8ef4..477a6d64 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,9 +21,10 @@ RUN apk add --no-cache gcc musl-dev linux-headers python3-dev libffi-dev openssl
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
COPY pyproject.toml poetry.lock ./
-RUN pip install --no-cache-dir "pip>=25.3" poetry setuptools wheel "jaraco.context>=6.1.0" && \
+RUN pip install --no-cache-dir --upgrade "pip>=25.3" poetry setuptools wheel "jaraco.context>=6.1.0" && \
poetry config virtualenvs.create false && \
- poetry install --no-root --only main
+ poetry install --no-root --only main && \
+ rm -rf /root/.cache/pip /root/.cache/pypoetry
# Copy source code and built frontend
COPY meshchatx ./meshchatx
@@ -42,6 +43,7 @@ WORKDIR /app
# We keep py3-setuptools because CFFI/LXST might need it at runtime on Python 3.12+
RUN apk add --no-cache ffmpeg opusfile libffi su-exec py3-setuptools espeak-ng && \
python -m pip install --no-cache-dir --upgrade "pip>=25.3" "jaraco.context>=6.1.0" && \
+ rm -rf /root/.cache/pip && \
addgroup -g 1000 meshchat && adduser -u 1000 -G meshchat -S meshchat && \
mkdir -p /config && chown meshchat:meshchat /config


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────